package cn.kgc.tangcco.array;

import org.junit.Test;

/**
 * @author 李昊哲
 * @Description
 * @date 2020/8/14 上午10:36
 */
public class Demo02 {
    @Test
    public void test01(){
        int[] arr = new int[3];
        arr[0] = 0;
        arr[1] = 1;
        arr[2] = 2;
    }
    @Test
    public void test02(){
        int[] arr = new int[]{0,1,2};
    }

    @Test
    public void test03(){
        int[] arr = {0,1,2};
    }
}
